from core.rest_client import RestClient


class Api(RestClient):
    def __init__(self):
        super().__init__()

    def get_s(self, url, **kwargs):
        return self.get(url, **kwargs)

    def post_s(self, url, **kwargs):
        return self.post(url, **kwargs)

    def put_s(self, url, **kwargs):
        return self.put(url, **kwargs)

    def delete_s(self, url, **kwargs):
        return self.delete(url, **kwargs)


api = Api()
